import java.util.Scanner;

/* 请在这里补充代码 */



public class Main {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);

        String name = in.next();
        int price = in.nextInt();
        Book book1 = new Book(name,price);

        Book book2 = new Book();

        book1.printInfo();
        book2.printInfo();

        in.close();
    }
}

class Book{
    String name;
    int price;

    public Book(String name, int price) {
        this.name = name;
        this.price = price;
    }

    public Book() {
        name = "Java程序设计";
        price = 54;
    }
    public void printInfo(){
        System.out.println(this.name + "-" + this.price);
    }
}